<script setup lang='ts'>
	import {onReachBottom} from '@dcloudio/uni-app'
	// import { ref } from 'vue';		
	onReachBottom(() => {
		console.log('触底了')
	})
	
	
	
	function show() {
		uni.showToast({
			title: '标题',
			icon: 'loading',
			// duration: 3000
		})
	}
	function hide() {
		uni.hideToast();
	}
</script>


<template>
	<button @click="show">显示</button>
	<button @click="hide">隐藏</button>
	<navigator open-type="reLaunch" url="/pages/category/category">分类页</navigator>
	<view v-for="item in 100">{{item}}</view>
</template>


<style scoped lang='scss'>

</style>
